<!--  -->
<template>
    <a-modal
        :maskClosable="false"
        title="提示"
        :width="500"
        v-model="visible"
        centered
        cancelText='授权失败'
        okText='授权成功'
        @cancel="handleClose"
        @ok="handleClose"
    >
        <h3 style="text-align: center">请在新打开的窗口完成授权</h3>
    </a-modal>
</template>

<script>

export default {
    components: {},
    data() {
        return {
            visible: false
        }
    },
    computed: {},
    watch: {},
    methods: {
        show(){
            this.visible = true
        },
        handleClose(){
            this.visible = false
            this.$emit('reload')
        }
    },
    created() {

    },
    mounted() {

    },
}
</script>
<style scoped>

</style>